

package com.yz.common.entity;

import com.baomidou.mybatisplus.annotations.TableName;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;


/**
 * 挖掘记录
 */
@TableName("tb_discover_record")
public class DiscoverRecordEntity implements Serializable {
	private long id;
	private String number;
	@Min(value = 1,message = "记录类型不能小于1")
	private int type;
	@NotNull(message = "创建时间不能为空")
	private Date createAt;
	@NotNull(message = "创建人不能为空")
	private String createUser;
	@Min(value = 1,message = "请填写正确的项目id")
	private long projectId;
	private Date updateAt;
	private Date deleteAt;
	public void setId(long id) {
		this.id = id;
	}

	public void setNumber(String number) {
		this.number = number;
	}



	public void setCreateAt(Date createAt) {
		this.createAt = createAt;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public void setProjectId(long projectId) {
		this.projectId = projectId;
	}


	public void setUpdateAt(Date updateAt) {
		this.updateAt = updateAt;
	}

	public void setDeleteAt(Date deleteAt) {
		this.deleteAt = deleteAt;
	}

	public long getId() {
		return id;
	}

	public String getNumber() {
		return number;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public Date getCreateAt() {
		return createAt;
	}

	public String getCreateUser() {
		return createUser;
	}

	public long getProjectId() {
		return projectId;
	}

	public Date getUpdateAt() {
		return updateAt;
	}

	public Date getDeleteAt() {
		return deleteAt;
	}
}